package com.koron.housing.util;

import com.koron.bean.base.BaseBean;

/**
 * @author jzp
 * @since 2022/2/28
 */
public class CommonUtils {
    // 清除BaseBean的各属性字段值
    public static void clearBaseBean(BaseBean baseBean) {
        baseBean.setId(null);
        baseBean.setCreateBy(null);
        baseBean.setCreateByName(null);
        baseBean.setCreateTime(null);
        baseBean.setDeleteFlag(0);
        baseBean.setUpdateBy(null);
        baseBean.setUpdateByName(null);
        baseBean.setUpdateTime(null);
        baseBean.setDeptId(null);
        baseBean.setDeptName(null);
    }

}
